home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Pascal Super Library
/
Pascal Super Library (CW International)(1997).bin
/
LIBRARY
/
PCTV3N5
/
VBWAVE.ZIP
/
MCIDEMO.GBL
< prev
next >
Wrap
Text File
|
1992-10-12
|
4KB
|
112 lines
'============================================================================'
' '
' Visual Basic global constant file. This file can be loaded into the '
' global module. '
' '
' Some constants are commented out because they have duplicates (for '
' example, NONE appears in several places). '
' '
'============================================================================'
'========='
' '
' General '
' '
'========='
' Booleans
Global Const TRUE = -1
Global Const FALSE = 0
'====================='
' '
' Function parameters '
' '
'====================='
Declare Sub MessageBeep Lib "User" (ByVal wType As Integer)
' MsgBox parameters
Global Const MB_OK = 0 ' OK button only
Global Const MB_OKCANCEL = 1 ' OK and Cancel buttons
Global Const MB_ABORTRETRYIGNORE = 2 ' Abort, Retry, and Ignore buttons
Global Const MB_YESNOCANCEL = 3 ' Yes, No, and Cancel buttons
Global Const MB_YESNO = 4 ' Yes and No buttons
Global Const MB_RETRYCANCEL = 5 ' Retry and Cancel buttons
Global Const MB_ICONSTOP = 16 ' Critical message
Global Const MB_ICONQUESTION = 32 ' Warning query
Global Const MB_ICONEXCLAMATION = 48 ' Warning message
Global Const MB_ICONINFORMATION = 64 ' Information message
Global Const MB_DEFBUTTON1 = 0 ' First button is default
Global Const MB_DEFBUTTON2 = 256 ' Second button is default
Global Const MB_DEFBUTTON3 = 512 ' Third button is default
' MsgBox return values
Global Const IDOK = 1 ' OK button pressed
Global Const IDCANCEL = 2 ' Cancel button pressed
Global Const IDABORT = 3 ' Abort button pressed
Global Const IDRETRY = 4 ' Retry button pressed
Global Const IDIGNORE = 5 ' Ignore button pressed
Global Const IDYES = 6 ' Yes button pressed
Global Const IDNO = 7 ' No button pressed
'-----------------------------------
'Common Dialog Control
'-----------------------------------
'Action Property
Global Const DLG_FILE_OPEN = 1
Global Const DLG_FILE_SAVE = 2
'File Open/Save Dialog Flags
Global Const OFN_READONLY = &H1&
Global Const OFN_OVERWRITEPROMPT = &H2&
Global Const OFN_HIDEREADONLY = &H4&
Global Const OFN_NOCHANGEDIR = &H8&
Global Const OFN_SHOWHELP = &H10&
Global Const OFN_NOVALIDATE = &H100&
Global Const OFN_ALLOWMULTISELECT = &H200&
Global Const OFN_EXTENTIONDIFFERENT = &H400&
Global Const OFN_PATHMUSTEXIST = &H800&
Global Const OFN_FILEMUSTEXIST = &H1000&
Global Const OFN_CREATEPROMPT = &H2000&
Global Const OFN_SHAREAWARE = &H4000&
Global Const OFN_NOREADONLYRETURN = &H8000&
'---------------------------------------
'MCI Control (Multimedia)
'---------------------------------------
'Mode Property
Global Const MCI_MODE_NOT_OPEN = 524
Global Const MCI_MODE_STOP = 525
Global Const MCI_MODE_PLAY = 526
Global Const MCI_MODE_RECORD = 527
Global Const MCI_MODE_SEEK = 528
Global Const MCI_MODE_PAUSE = 529
Global Const MCI_MODE_READY = 530
'NotifyValue Property
Global Const MCI_NOTIFY_SUCCESSFUL = 1
Global Const MCI_NOTIFY_SUPERSEDED = 2
Global Const MCI_ABORTED = 4
Global Const MCI_FAILURE = 8
'RecordMode Porperty
Global Const MCI_RECORD_INSERT = 0
Global Const MCI_RECORD_OVERWRITE = 1
'TimeFormat Property
Global Const MCI_FORMAT_MILLISECONDS = 0
Global Const MCI_FORMAT_HMS = 1
Global Const MCI_FORMAT_FRAMES = 3
Global Const MCI_FORMAT_SMPTE_24 = 4
Global Const MCI_FORMAT_SMPTE_25 = 5
Global Const MCI_FORMAT_SMPTE_30 = 6
Global Const MCI_FORMAT_SMPTE_30DROP = 7
Global Const MCI_FORMAT_BYTES = 8
Global Const MCI_FORMAT_SAMPLES = 9
Global Const MCI_FORMAT_TMSF = 10